namespace Cos.Core.NHibernate.Mapping
{
    using FluentNHibernate.Mapping;

    public class OptionCultureMap : ClassMap<OptionCultureDataModel>
    {
        #region Constructors and Destructors

        public OptionCultureMap()
        {
            this.Table("OptionCulture");
            this.LazyLoad();
            this.Id(x => x.Id).Column("OptionCultureID");

            this.Map(x => x.DisplayName);
            this.Map(x => x.OptionId).Column("OptionID");
            this.Map(x => x.CultureCode).Column("CultureCode");
        }

        #endregion
    }
}
